/////////////////////////////////////////////////////////////////////////////
// Name:        ProxyPanel.h
// Purpose:     
// Author:      yospaly
// Modified by: 
// Created:     05/01/2010 15:25:00
// RCS-ID:      
// Copyright:   Copyright (C) 2008, yospaly
// Licence:     
/////////////////////////////////////////////////////////////////////////////

#ifndef _PROXYPANEL_H_
#define _PROXYPANEL_H_


/*!
 * Includes
 */

////@begin includes
////@end includes

/*!
 * Forward declarations
 */

////@begin forward declarations
////@end forward declarations

/*!
 * Control identifiers
 */

////@begin control identifiers
#define ID_PROXY_PANEL 10028
#define ID_RADIOBUTTON 10048
#define ID_RADIOBUTTON1 10049
#define ID_RADIOBUTTON2 10050
#define ID_TEXTCTRL 10051
#define ID_TEXTCTRL1 10052
#define SYMBOL_PROXYPANEL_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL
#define SYMBOL_PROXYPANEL_TITLE _("ProxyPanel")
#define SYMBOL_PROXYPANEL_IDNAME ID_PROXY_PANEL
#define SYMBOL_PROXYPANEL_SIZE wxSize(400, 300)
#define SYMBOL_PROXYPANEL_POSITION wxDefaultPosition
////@end control identifiers


/*!
 * ProxyPanel class declaration
 */

class ProxyPanel: public wxPanel
{    
    DECLARE_DYNAMIC_CLASS( ProxyPanel )
    DECLARE_EVENT_TABLE()

public:
    /// Constructors
    ProxyPanel();
    ProxyPanel( wxWindow* parent, wxWindowID id = SYMBOL_PROXYPANEL_IDNAME, const wxString& caption = SYMBOL_PROXYPANEL_TITLE, const wxPoint& pos = SYMBOL_PROXYPANEL_POSITION, const wxSize& size = SYMBOL_PROXYPANEL_SIZE, long style = SYMBOL_PROXYPANEL_STYLE );

    /// Creation
    bool Create( wxWindow* parent, wxWindowID id = SYMBOL_PROXYPANEL_IDNAME, const wxString& caption = SYMBOL_PROXYPANEL_TITLE, const wxPoint& pos = SYMBOL_PROXYPANEL_POSITION, const wxSize& size = SYMBOL_PROXYPANEL_SIZE, long style = SYMBOL_PROXYPANEL_STYLE );

    /// Destructor
    ~ProxyPanel();

    /// Initialises member variables
    void Init();

    /// Creates the controls and sizers
    void CreateControls();

////@begin ProxyPanel event handler declarations

////@end ProxyPanel event handler declarations

////@begin ProxyPanel member function declarations

    /// Retrieves bitmap resources
    wxBitmap GetBitmapResource( const wxString& name );

    /// Retrieves icon resources
    wxIcon GetIconResource( const wxString& name );
////@end ProxyPanel member function declarations

    /// Should we show tooltips?
    static bool ShowToolTips();

////@begin ProxyPanel member variables
////@end ProxyPanel member variables

    ProxyPanel(wxWindow* parent, wxWindowID id = SYMBOL_PROXYPANEL_IDNAME, \
            const wxPoint& pos = SYMBOL_PROXYPANEL_POSITION, const wxSize& size = SYMBOL_PROXYPANEL_SIZE, \
            long style = SYMBOL_PROXYPANEL_STYLE, const wxString& name = _T("proxypanel"))
    {
        Init();
        Create(parent, id, SYMBOL_PROXYPANEL_TITLE, pos, size, style);
    }
};

#endif
    // _PROXYPANEL_H_
